/*************************************************************************
	> File Name: 7.P1258.cpp
	> Author: hug
	> Mail: hug@haizeix.com
	> Created Time: 二  2/11 21:39:27 2025
 ************************************************************************/

#include <iostream>
using namespace std;

double a, b, c, d;

double f(double x) {
    return a * x * x * x + b * x * x + c * x + d;
}

double erfen(double l, double r) {
    double mid;
    int cnt = 300;
    while (cnt--) {
        mid = (l + r) / 2;
        if (f(l) * f(mid) < 0) r = mid;
        else l = mid;
    }
    return l;
}

int main() {
    cin >> a >> b >> c >> d;
    int flag = 0;
    for (int i = -100; i <= 100; i++) {
        double l = i, r = i + 1;
        if (f(l) * f(r) == 0) {
            if (f(l) == 0) {
                if (flag) printf(" ");
                printf("%.2lf", l);
                flag += 1;
            }
            continue;
        }
        if (f(l) * f(r) < 0) {
            if (flag) printf(" ");
            printf("%.2lf", erfen(l, r));
            flag += 1;
        }
    }
    printf("\n");
    return 0;
}
